<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>jquery通知插件toastr</title>
		<link href="./css/toastr.min.css" rel="stylesheet"/>

		<script type="text/jscript" src="js/jquery.min-2.1.4.js"></script>
		<script type="text/jscript" src="./js/toastr.min.js"></script>
		
	</head>
	<body>
		<h1>jquery通知插件toastr</h1>
		<!-- <input type="submit" value="一个提交按钮"> -->
		<button onclick="tipSuccess()">成功信息提示框</button>
		<button onclick="tipInfo()">常规信息提示框</button>
		<button onclick="tipWarn()">警告信息提示框</button>
		<button onclick="tipError()">失败信息提示框</button>
	</body>
	
	<script>
		
		function tipSuccess(str){
			toastr.success("toastr info 成功标记");
		}
		function tipInfo(){
			toastr.info("toastr info 常规标记");
		}
		function tipWarn(){
			toastr.warning("toastr info 警告标记");
		}
		function tipError(){
			toastr.error("toastr info 失败标记");
		}
	</script>
	
</html>
